home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / clang / mrcry204.zip / ASINH.C < prev    next >
C/C++ Source or Header  |  1991-03-04  |  384b  |  24 lines

  1.  
  2. /* Asinh.c
  3.  
  4. inverse hyperbolic sine
  5.  
  6. Source to ASINH.BIN.  Rebuild with:
  7.  
  8.     tcc -c -mt asinh
  9.     tlink x02 asinh /t/x/c,asinh.bin,,fp ld
  10.  
  11. If you are using a coprocessor, you can also build with:
  12.  
  13.     tcc -c -mt asinh
  14.     tlink x01 asinh f87 /t/x/c,asinh.bin,,fp ld
  15.  
  16. */
  17.  
  18. #include "mathl.h"
  19.  
  20. void pascal xmain(double far *x)
  21. {
  22.     x[0] = logl(x[1] + sqrtl(x[1]*x[1] + 1));
  23. }
  24.